home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xa;
-
- import com.extensibility.app.BaseAction;
- import com.extensibility.rock.Screen;
- import com.extensibility.xml.MetaPropHash;
- import com.extensibility.xml.URI;
- import java.awt.Dialog;
- import java.awt.event.ActionEvent;
- import java.util.Hashtable;
-
- class SchemaWin$3 extends BaseAction {
- // $FF: synthetic field
- final SchemaWin this$0;
-
- public void actionOccurred(ActionEvent var1) {
- if (this.this$0.commitPendingEdits(true)) {
- SchemaInfo var2 = new SchemaInfo(this.this$0, this.this$0.getSchemaDoc());
- Screen.centerInScreen(var2);
- ((Dialog)var2).show();
- if (var2.confirmed()) {
- this.this$0.getSchemaDoc().setNamespace(new URI((URI)null, var2.getNamespace()));
- this.this$0.getSchemaDoc().setSchemaPrefix(var2.getPrefix());
- Hashtable var3 = var2.getMetaProps();
- MetaPropHash var4 = this.this$0.getSchemaDoc().getSchema().getMetaPropHash();
- var4.setMetaProps(var3);
- }
-
- }
- }
-
- SchemaWin$3(SchemaWin var1, String var2, char var3) {
- super(var2, var3);
- this.this$0 = var1;
- }
- }
-